<template>
  <div class="page-env">
    <div class="zl-page-loading" v-if="isLoading">
      <Spin fix></Spin>
    </div>
    <div class="zl-no-data">
      暂无数据!
    </div>
  </div>
</template>
<script type="text/javascript">
export default {
  data() {
    return {
      isLoading: true
    }
  },
  mounted() {
    if (localStorage.getItem('envionmentSelect')) {
      let envSelected = JSON.parse(localStorage.getItem('envionmentSelect'))
      this.$router.push('/home/environment/' + envSelected.environmentId + '/info')
    } else {
      this.isLoading = false
    }
  }
}
</script>
<style rel="stylesheet/scss" lang="scss" scoped>
</style>
